package com.briup.service;

import com.briup.dao.UserDao;
import com.briup.entity.User;
import com.briup.utils.InstanceFactory;

public class UserServiceImpl2 implements UserService {

    private UserDao userDao = InstanceFactory.getInstance("userDao", UserDao.class);

    public UserServiceImpl2() {
        System.out.println("UserServiceImpl被创建了");
    }

    @Override
    public void getUserInfo(int id) {
    }

    @Override
    public void updateUserInfo(User user) {
    }

    @Override
    public void deleteUser(int id) {
    }

    @Override
    public void addUser(User user) {
    }

    @Override
    public boolean login(String username, String password) {
        return false;
    }
}
